package com.meichis.yndms.model;


import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Entity
public class VisitWork implements Serializable {
    @PrimaryKey
    @NonNull
    private String GUID = "";
    //拜访工作ID
    private int ID = 0;
    //工作人
    private int RelateStaff = 0;

    private String RelateStaffName = "";
    //关联路线
    private int Route = 0;

    private String RouteName = "";
    //拜访客户
    private int Client = 0;

    private String ClientName = "";
    //拜访模板
    private int VisitTemplate = 0;

    private String VisitTemplateName = "";
    //工作类别
    private int WorkingClassify = 0;

    private String WorkingClassifyName = "";
    //工作是否完成
    private boolean IsComplete = false;
    //开始工作时间
    private String BeginTime = "1900-01-01";
    //结束工作时间
    private String EndTime = "1900-01-01";
    //拜访计划
    private int PlanID = 0;
    //备注
    private String Remark = "";
    //录入时间
    private String InsertTime = "1900-01-01";
    //细工作项目
    private List<VisitWorkItem> Items = new ArrayList<>();
    //是否上传  0 未上传 1 已上传 9 上传失败
    private int IsUpload = 0;
    //手机号码
    private String Mobile = "";
    //地址
    private String Address = "";
    //首要图片
    private String ImageGUID = "00000000-0000-0000-0000-000000000000";

    private int AssistStaff;

    private String AssistStaffName = "";

    private ClientInfo clientInfo;

    private String GeoOffset = "";

    public String getGUID() {
        return GUID;
    }

    public void setGUID(String GUID) {
        this.GUID = GUID;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public int getRelateStaff() {
        return RelateStaff;
    }

    public void setRelateStaff(int relateStaff) {
        RelateStaff = relateStaff;
    }

    public String getRelateStaffName() {
        return RelateStaffName;
    }

    public void setRelateStaffName(String relateStaffName) {
        RelateStaffName = relateStaffName;
    }

    public int getRoute() {
        return Route;
    }

    public void setRoute(int route) {
        Route = route;
    }

    public String getRouteName() {
        return RouteName;
    }

    public void setRouteName(String routeName) {
        RouteName = routeName;
    }

    public int getClient() {
        return Client;
    }

    public void setClient(int client) {
        Client = client;
    }

    public String getClientName() {
        return ClientName;
    }

    public void setClientName(String clientName) {
        ClientName = clientName;
    }

    public int getVisitTemplate() {
        return VisitTemplate;
    }

    public void setVisitTemplate(int visitTemplate) {
        VisitTemplate = visitTemplate;
    }

    public String getVisitTemplateName() {
        return VisitTemplateName;
    }

    public void setVisitTemplateName(String visitTemplateName) {
        VisitTemplateName = visitTemplateName;
    }

    public int getWorkingClassify() {
        return WorkingClassify;
    }

    public void setWorkingClassify(int workingClassify) {
        WorkingClassify = workingClassify;
    }

    public String getWorkingClassifyName() {
        return WorkingClassifyName;
    }

    public void setWorkingClassifyName(String workingClassifyName) {
        WorkingClassifyName = workingClassifyName;
    }

    public boolean getIsComplete() {
        return IsComplete;
    }

    public void setIsComplete(boolean complete) {
        IsComplete = complete;
    }

    public String getBeginTime() {
        return BeginTime;
    }

    public void setBeginTime(String beginTime) {
        BeginTime = beginTime;
    }

    public String getEndTime() {
        return EndTime;
    }

    public void setEndTime(String endTime) {
        EndTime = endTime;
    }

    public int getPlanID() {
        return PlanID;
    }

    public void setPlanID(int planID) {
        PlanID = planID;
    }

    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }

    public String getInsertTime() {
        return InsertTime;
    }

    public void setInsertTime(String insertTime) {
        InsertTime = insertTime;
    }

    public List<VisitWorkItem> getItems() {
        return Items;
    }

    public void setItems(List<VisitWorkItem> items) {
        Items = items;
    }

    public int getIsUpload() {
        return IsUpload;
    }

    public void setIsUpload(int isUpload) {
        IsUpload = isUpload;
    }

    public String getMobile() {
        return Mobile;
    }

    public void setMobile(String mobile) {
        Mobile = mobile;
    }

    public String getAddress() {
        return Address;
    }

    public void setAddress(String address) {
        Address = address;
    }

    public String getImageGUID() {
        return ImageGUID;
    }

    public void setImageGUID(String imageGUID) {
        ImageGUID = imageGUID;
    }

    public int getAssistStaff() {
        return AssistStaff;
    }

    public void setAssistStaff(int assistStaff) {
        AssistStaff = assistStaff;
    }

    public String getAssistStaffName() {
        return AssistStaffName;
    }

    public void setAssistStaffName(String assistStaffName) {
        AssistStaffName = assistStaffName;
    }

    public ClientInfo getClientInfo() {
        return clientInfo;
    }

    public void setClientInfo(ClientInfo clientInfo) {
        this.clientInfo = clientInfo;
    }

    public String getGeoOffset() {
        return GeoOffset;
    }

    public void setGeoOffset(String geoOffset) {
        GeoOffset = geoOffset;
    }
}
